<?php
require_once( "pb_proto_common.php" );
class Notification_NotificationType extends PBEnum
{
  const USER_2_CONTENT  = 0;
  const USER_2_USER  = 1;
  const EMAIL  = 2;
  const GET_NUMBER_NOTIFICATION  = 3;
  const GET_NOTIFICATION  = 4;
  const USER_STATUS  = 5;
  const DELETE_NOTIFICATIONS  = 6;
  const NOTIFICATION_ALL_USER  = 7;

  public function __construct($reader=null)
  {
   	parent::__construct($reader);
 	$this->names = array(
			0 => "USER_2_CONTENT",
			1 => "USER_2_USER",
			2 => "EMAIL",
			3 => "GET_NUMBER_NOTIFICATION",
			4 => "GET_NOTIFICATION",
			5 => "USER_STATUS",
			6 => "DELETE_NOTIFICATIONS",
			7 => "NOTIFICATION_ALL_USER");
   }
}
class Notification extends PBMessage
{
  var $wired_type = PBMessage::WIRED_LENGTH_DELIMITED;
  public function __construct($reader=null)
  {
    parent::__construct($reader);
    self::$fields["Notification"]["1"] = "PBString";
    $this->values["1"] = "";
    self::$fieldNames["Notification"]["1"] = "uuid";
    self::$fields["Notification"]["2"] = "Notification_NotificationType";
    $this->values["2"] = "";
    self::$fieldNames["Notification"]["2"] = "type";
    self::$fields["Notification"]["3"] = "PBBool";
    $this->values["3"] = "";
    self::$fieldNames["Notification"]["3"] = "undefined_action_type";
    self::$fields["Notification"]["4"] = "PBBytes";
    $this->values["4"] = "";
    self::$fieldNames["Notification"]["4"] = "message";
    self::$fields["Notification"]["5"] = "PBInt";
    $this->values["5"] = "";
    self::$fieldNames["Notification"]["5"] = "timestamp";
  }
  function uuid()
  {
    return $this->_get_value("1");
  }
  function set_uuid($value)
  {
    return $this->_set_value("1", $value);
  }
  function type()
  {
    return $this->_get_value("2");
  }
  function set_type($value)
  {
    return $this->_set_value("2", $value);
  }
  function type_string()
  {
    return $this->values["2"]->get_description();
  }
  function undefined_action_type()
  {
    return $this->_get_value("3");
  }
  function set_undefined_action_type($value)
  {
    return $this->_set_value("3", $value);
  }
  function message()
  {
    return $this->_get_value("4");
  }
  function set_message($value)
  {
    return $this->_set_value("4", $value);
  }
  function timestamp()
  {
    return $this->_get_value("5");
  }
  function set_timestamp($value)
  {
    return $this->_set_value("5", $value);
  }
}
class NotificationErrorType extends PBEnum
{
  const SUCCESS  = 0;
  const FAIL  = 1;
  const FAIL_SYS  = 2;
  const FAIL_NETWORK  = 3;
  const FAIL_AUTH  = 4;
  const CHANNEL_SYS_FAIL  = 5;

  public function __construct($reader=null)
  {
   	parent::__construct($reader);
 	$this->names = array(
			0 => "SUCCESS",
			1 => "FAIL",
			2 => "FAIL_SYS",
			3 => "FAIL_NETWORK",
			4 => "FAIL_AUTH",
			5 => "CHANNEL_SYS_FAIL");
   }
}
class User2UserNotificationRequest extends PBMessage
{
  var $wired_type = PBMessage::WIRED_LENGTH_DELIMITED;
  public function __construct($reader=null)
  {
    parent::__construct($reader);
    self::$fields["User2UserNotificationRequest"]["7"] = "PBInt";
    $this->values["7"] = "";
    self::$fieldNames["User2UserNotificationRequest"]["7"] = "timestamp";
    self::$fields["User2UserNotificationRequest"]["1"] = "User2UserActionType";
    $this->values["1"] = "";
    self::$fieldNames["User2UserNotificationRequest"]["1"] = "action";
    self::$fields["User2UserNotificationRequest"]["2"] = "ProfileLite";
    $this->values["2"] = "";
    self::$fieldNames["User2UserNotificationRequest"]["2"] = "user_of_action";
    self::$fields["User2UserNotificationRequest"]["8"] = "ProfileLite";
    $this->values["8"] = array();
    self::$fieldNames["User2UserNotificationRequest"]["8"] = "notification_owner";
    self::$fields["User2UserNotificationRequest"]["10"] = "ItemLite";
    $this->values["10"] = "";
    self::$fieldNames["User2UserNotificationRequest"]["10"] = "content";
    self::$fields["User2UserNotificationRequest"]["5"] = "PBString";
    $this->values["5"] = "";
    self::$fieldNames["User2UserNotificationRequest"]["5"] = "facebook_id";
    self::$fields["User2UserNotificationRequest"]["9"] = "TextMessage";
    $this->values["9"] = "";
    self::$fieldNames["User2UserNotificationRequest"]["9"] = "message_mention";
  }
  function timestamp()
  {
    return $this->_get_value("7");
  }
  function set_timestamp($value)
  {
    return $this->_set_value("7", $value);
  }
  function action()
  {
    return $this->_get_value("1");
  }
  function set_action($value)
  {
    return $this->_set_value("1", $value);
  }
  function action_string()
  {
    return $this->values["1"]->get_description();
  }
  function user_of_action()
  {
    return $this->_get_value("2");
  }
  function set_user_of_action($value)
  {
    return $this->_set_value("2", $value);
  }
  function notification_owner($offset)
  {
    return $this->_get_arr_value("8", $offset);
  }
  function add_notification_owner()
  {
    return $this->_add_arr_value("8");
  }
  function set_notification_owner($index, $value)
  {
    $this->_set_arr_value("8", $index, $value);
  }
  function set_all_notification_owners($values)
  {
    return $this->_set_arr_values("8", $values);
  }
  function remove_last_notification_owner()
  {
    $this->_remove_last_arr_value("8");
  }
  function notification_owners_size()
  {
    return $this->_get_arr_size("8");
  }
  function get_notification_owners()
  {
    return $this->_get_value("8");
  }
  function content()
  {
    return $this->_get_value("10");
  }
  function set_content($value)
  {
    return $this->_set_value("10", $value);
  }
  function facebook_id()
  {
    return $this->_get_value("5");
  }
  function set_facebook_id($value)
  {
    return $this->_set_value("5", $value);
  }
  function message_mention()
  {
    return $this->_get_value("9");
  }
  function set_message_mention($value)
  {
    return $this->_set_value("9", $value);
  }
}
class User2UserNotificationReply extends PBMessage
{
  var $wired_type = PBMessage::WIRED_LENGTH_DELIMITED;
  public function __construct($reader=null)
  {
    parent::__construct($reader);
    self::$fields["User2UserNotificationReply"]["1"] = "NotificationErrorType";
    $this->values["1"] = "";
    self::$fieldNames["User2UserNotificationReply"]["1"] = "error_no";
    self::$fields["User2UserNotificationReply"]["2"] = "PBString";
    $this->values["2"] = "";
    self::$fieldNames["User2UserNotificationReply"]["2"] = "error_msg";
  }
  function error_no()
  {
    return $this->_get_value("1");
  }
  function set_error_no($value)
  {
    return $this->_set_value("1", $value);
  }
  function error_no_string()
  {
    return $this->values["1"]->get_description();
  }
  function error_msg()
  {
    return $this->_get_value("2");
  }
  function set_error_msg($value)
  {
    return $this->_set_value("2", $value);
  }
}
class User2ContentNotificationRequest extends PBMessage
{
  var $wired_type = PBMessage::WIRED_LENGTH_DELIMITED;
  public function __construct($reader=null)
  {
    parent::__construct($reader);
    self::$fields["User2ContentNotificationRequest"]["9"] = "PBInt";
    $this->values["9"] = "";
    self::$fieldNames["User2ContentNotificationRequest"]["9"] = "timestamp";
    self::$fields["User2ContentNotificationRequest"]["1"] = "User2ContentActionType";
    $this->values["1"] = "";
    self::$fieldNames["User2ContentNotificationRequest"]["1"] = "action_type";
    self::$fields["User2ContentNotificationRequest"]["2"] = "ProfileLite";
    $this->values["2"] = "";
    self::$fieldNames["User2ContentNotificationRequest"]["2"] = "user_of_action";
    self::$fields["User2ContentNotificationRequest"]["8"] = "PBString";
    $this->values["8"] = array();
    self::$fieldNames["User2ContentNotificationRequest"]["8"] = "uid_owner";
    self::$fields["User2ContentNotificationRequest"]["13"] = "ItemLite";
    $this->values["13"] = "";
    self::$fieldNames["User2ContentNotificationRequest"]["13"] = "content";
    self::$fields["User2ContentNotificationRequest"]["14"] = "ItemLite";
    $this->values["14"] = "";
    self::$fieldNames["User2ContentNotificationRequest"]["14"] = "main_content";
    self::$fields["User2ContentNotificationRequest"]["12"] = "TextMessage";
    $this->values["12"] = "";
    self::$fieldNames["User2ContentNotificationRequest"]["12"] = "message_share";
  }
  function timestamp()
  {
    return $this->_get_value("9");
  }
  function set_timestamp($value)
  {
    return $this->_set_value("9", $value);
  }
  function action_type()
  {
    return $this->_get_value("1");
  }
  function set_action_type($value)
  {
    return $this->_set_value("1", $value);
  }
  function action_type_string()
  {
    return $this->values["1"]->get_description();
  }
  function user_of_action()
  {
    return $this->_get_value("2");
  }
  function set_user_of_action($value)
  {
    return $this->_set_value("2", $value);
  }
  function uid_owner($offset)
  {
    $v = $this->_get_arr_value("8", $offset);
    return $v->get_value();
  }
  function append_uid_owner($value)
  {
    $v = $this->_add_arr_value("8");
    $v->set_value($value);
  }
  function set_uid_owner($index, $value)
  {
    $v = new self::$fields["User2ContentNotificationRequest"]["8"]();
    $v->set_value($value);
    $this->_set_arr_value("8", $index, $v);
  }
  function remove_last_uid_owner()
  {
    $this->_remove_last_arr_value("8");
  }
  function uid_owners_size()
  {
    return $this->_get_arr_size("8");
  }
  function get_uid_owners()
  {
    return $this->_get_value("8");
  }
  function content()
  {
    return $this->_get_value("13");
  }
  function set_content($value)
  {
    return $this->_set_value("13", $value);
  }
  function main_content()
  {
    return $this->_get_value("14");
  }
  function set_main_content($value)
  {
    return $this->_set_value("14", $value);
  }
  function message_share()
  {
    return $this->_get_value("12");
  }
  function set_message_share($value)
  {
    return $this->_set_value("12", $value);
  }
}
class User2ContentNotificationRepy extends PBMessage
{
  var $wired_type = PBMessage::WIRED_LENGTH_DELIMITED;
  public function __construct($reader=null)
  {
    parent::__construct($reader);
    self::$fields["User2ContentNotificationRepy"]["1"] = "NotificationErrorType";
    $this->values["1"] = "";
    self::$fieldNames["User2ContentNotificationRepy"]["1"] = "error_no";
    self::$fields["User2ContentNotificationRepy"]["2"] = "PBString";
    $this->values["2"] = "";
    self::$fieldNames["User2ContentNotificationRepy"]["2"] = "error_msg";
  }
  function error_no()
  {
    return $this->_get_value("1");
  }
  function set_error_no($value)
  {
    return $this->_set_value("1", $value);
  }
  function error_no_string()
  {
    return $this->values["1"]->get_description();
  }
  function error_msg()
  {
    return $this->_get_value("2");
  }
  function set_error_msg($value)
  {
    return $this->_set_value("2", $value);
  }
}
class DeleteNotificationRequest extends PBMessage
{
  var $wired_type = PBMessage::WIRED_LENGTH_DELIMITED;
  public function __construct($reader=null)
  {
    parent::__construct($reader);
    self::$fields["DeleteNotificationRequest"]["1"] = "PBString";
    $this->values["1"] = "";
    self::$fieldNames["DeleteNotificationRequest"]["1"] = "content_id";
  }
  function content_id()
  {
    return $this->_get_value("1");
  }
  function set_content_id($value)
  {
    return $this->_set_value("1", $value);
  }
}
class DeleteNotificationRepy extends PBMessage
{
  var $wired_type = PBMessage::WIRED_LENGTH_DELIMITED;
  public function __construct($reader=null)
  {
    parent::__construct($reader);
    self::$fields["DeleteNotificationRepy"]["1"] = "NotificationErrorType";
    $this->values["1"] = "";
    self::$fieldNames["DeleteNotificationRepy"]["1"] = "error_no";
    self::$fields["DeleteNotificationRepy"]["2"] = "PBString";
    $this->values["2"] = "";
    self::$fieldNames["DeleteNotificationRepy"]["2"] = "error_msg";
  }
  function error_no()
  {
    return $this->_get_value("1");
  }
  function set_error_no($value)
  {
    return $this->_set_value("1", $value);
  }
  function error_no_string()
  {
    return $this->values["1"]->get_description();
  }
  function error_msg()
  {
    return $this->_get_value("2");
  }
  function set_error_msg($value)
  {
    return $this->_set_value("2", $value);
  }
}
class EmailNotificationRequest_ContentType extends PBEnum
{
  const REGISTER  = 0;
  const PASSWORD_RECOVER  = 1;
  const WARNING  = 2;

  public function __construct($reader=null)
  {
   	parent::__construct($reader);
 	$this->names = array(
			0 => "REGISTER",
			1 => "PASSWORD_RECOVER",
			2 => "WARNING");
   }
}
class EmailNotificationRequest extends PBMessage
{
  var $wired_type = PBMessage::WIRED_LENGTH_DELIMITED;
  public function __construct($reader=null)
  {
    parent::__construct($reader);
    self::$fields["EmailNotificationRequest"]["1"] = "EmailNotificationRequest_ContentType";
    $this->values["1"] = "";
    self::$fieldNames["EmailNotificationRequest"]["1"] = "content_type";
    self::$fields["EmailNotificationRequest"]["2"] = "PBString";
    $this->values["2"] = "";
    self::$fieldNames["EmailNotificationRequest"]["2"] = "receiver";
    self::$fields["EmailNotificationRequest"]["3"] = "PBString";
    $this->values["3"] = "";
    self::$fieldNames["EmailNotificationRequest"]["3"] = "message";
    self::$fields["EmailNotificationRequest"]["4"] = "PBString";
    $this->values["4"] = "";
    self::$fieldNames["EmailNotificationRequest"]["4"] = "subject";
  }
  function content_type()
  {
    return $this->_get_value("1");
  }
  function set_content_type($value)
  {
    return $this->_set_value("1", $value);
  }
  function content_type_string()
  {
    return $this->values["1"]->get_description();
  }
  function receiver()
  {
    return $this->_get_value("2");
  }
  function set_receiver($value)
  {
    return $this->_set_value("2", $value);
  }
  function message()
  {
    return $this->_get_value("3");
  }
  function set_message($value)
  {
    return $this->_set_value("3", $value);
  }
  function subject()
  {
    return $this->_get_value("4");
  }
  function set_subject($value)
  {
    return $this->_set_value("4", $value);
  }
}
class EmailNotificationReply extends PBMessage
{
  var $wired_type = PBMessage::WIRED_LENGTH_DELIMITED;
  public function __construct($reader=null)
  {
    parent::__construct($reader);
    self::$fields["EmailNotificationReply"]["1"] = "NotificationErrorType";
    $this->values["1"] = "";
    self::$fieldNames["EmailNotificationReply"]["1"] = "error_no";
    self::$fields["EmailNotificationReply"]["2"] = "PBString";
    $this->values["2"] = "";
    self::$fieldNames["EmailNotificationReply"]["2"] = "error_msg";
  }
  function error_no()
  {
    return $this->_get_value("1");
  }
  function set_error_no($value)
  {
    return $this->_set_value("1", $value);
  }
  function error_no_string()
  {
    return $this->values["1"]->get_description();
  }
  function error_msg()
  {
    return $this->_get_value("2");
  }
  function set_error_msg($value)
  {
    return $this->_set_value("2", $value);
  }
}
class UserJoinUser extends PBMessage
{
  var $wired_type = PBMessage::WIRED_LENGTH_DELIMITED;
  public function __construct($reader=null)
  {
    parent::__construct($reader);
    self::$fields["UserJoinUser"]["1"] = "PBString";
    $this->values["1"] = "";
    self::$fieldNames["UserJoinUser"]["1"] = "facebook_id";
    self::$fields["UserJoinUser"]["2"] = "ProfileLite";
    $this->values["2"] = "";
    self::$fieldNames["UserJoinUser"]["2"] = "user";
  }
  function facebook_id()
  {
    return $this->_get_value("1");
  }
  function set_facebook_id($value)
  {
    return $this->_set_value("1", $value);
  }
  function user()
  {
    return $this->_get_value("2");
  }
  function set_user($value)
  {
    return $this->_set_value("2", $value);
  }
}
class GetNumberNotificationRequest extends PBMessage
{
  var $wired_type = PBMessage::WIRED_LENGTH_DELIMITED;
  public function __construct($reader=null)
  {
    parent::__construct($reader);
    self::$fields["GetNumberNotificationRequest"]["1"] = "PBString";
    $this->values["1"] = "";
    self::$fieldNames["GetNumberNotificationRequest"]["1"] = "uid";
    self::$fields["GetNumberNotificationRequest"]["2"] = "PBInt";
    $this->values["2"] = "";
    self::$fieldNames["GetNumberNotificationRequest"]["2"] = "timestamp";
    self::$fields["GetNumberNotificationRequest"]["3"] = "PBString";
    $this->values["3"] = "";
    self::$fieldNames["GetNumberNotificationRequest"]["3"] = "session_key";
  }
  function uid()
  {
    return $this->_get_value("1");
  }
  function set_uid($value)
  {
    return $this->_set_value("1", $value);
  }
  function timestamp()
  {
    return $this->_get_value("2");
  }
  function set_timestamp($value)
  {
    return $this->_set_value("2", $value);
  }
  function session_key()
  {
    return $this->_get_value("3");
  }
  function set_session_key($value)
  {
    return $this->_set_value("3", $value);
  }
}
class GetNumberNotificationReply extends PBMessage
{
  var $wired_type = PBMessage::WIRED_LENGTH_DELIMITED;
  public function __construct($reader=null)
  {
    parent::__construct($reader);
    self::$fields["GetNumberNotificationReply"]["1"] = "NotificationErrorType";
    $this->values["1"] = "";
    self::$fieldNames["GetNumberNotificationReply"]["1"] = "error_no";
    self::$fields["GetNumberNotificationReply"]["2"] = "PBString";
    $this->values["2"] = "";
    self::$fieldNames["GetNumberNotificationReply"]["2"] = "error_msg";
    self::$fields["GetNumberNotificationReply"]["3"] = "PBInt";
    $this->values["3"] = "";
    self::$fieldNames["GetNumberNotificationReply"]["3"] = "number_notification";
    self::$fields["GetNumberNotificationReply"]["4"] = "PBInt";
    $this->values["4"] = "";
    self::$fieldNames["GetNumberNotificationReply"]["4"] = "new_last_timestamp";
  }
  function error_no()
  {
    return $this->_get_value("1");
  }
  function set_error_no($value)
  {
    return $this->_set_value("1", $value);
  }
  function error_no_string()
  {
    return $this->values["1"]->get_description();
  }
  function error_msg()
  {
    return $this->_get_value("2");
  }
  function set_error_msg($value)
  {
    return $this->_set_value("2", $value);
  }
  function number_notification()
  {
    return $this->_get_value("3");
  }
  function set_number_notification($value)
  {
    return $this->_set_value("3", $value);
  }
  function new_last_timestamp()
  {
    return $this->_get_value("4");
  }
  function set_new_last_timestamp($value)
  {
    return $this->_set_value("4", $value);
  }
}
class GetNotificationRequest_GetNotificationType extends PBEnum
{
  const LOAD_NEW  = 0;
  const LOAD_MORE  = 1;

  public function __construct($reader=null)
  {
   	parent::__construct($reader);
 	$this->names = array(
			0 => "LOAD_NEW",
			1 => "LOAD_MORE");
   }
}
class GetNotificationRequest extends PBMessage
{
  var $wired_type = PBMessage::WIRED_LENGTH_DELIMITED;
  public function __construct($reader=null)
  {
    parent::__construct($reader);
    self::$fields["GetNotificationRequest"]["6"] = "GetNotificationRequest_GetNotificationType";
    $this->values["6"] = "";
    self::$fieldNames["GetNotificationRequest"]["6"] = "type";
    self::$fields["GetNotificationRequest"]["1"] = "PBInt";
    $this->values["1"] = "";
    self::$fieldNames["GetNotificationRequest"]["1"] = "number_get";
    self::$fields["GetNotificationRequest"]["2"] = "PBString";
    $this->values["2"] = "";
    self::$fieldNames["GetNotificationRequest"]["2"] = "session_key";
    self::$fields["GetNotificationRequest"]["3"] = "PBString";
    $this->values["3"] = "";
    self::$fieldNames["GetNotificationRequest"]["3"] = "uid";
    self::$fields["GetNotificationRequest"]["4"] = "PBInt";
    $this->values["4"] = "";
    self::$fieldNames["GetNotificationRequest"]["4"] = "timestamp";
    self::$fields["GetNotificationRequest"]["5"] = "PBInt";
    $this->values["5"] = "";
    self::$fieldNames["GetNotificationRequest"]["5"] = "last_timestamp";
  }
  function type()
  {
    return $this->_get_value("6");
  }
  function set_type($value)
  {
    return $this->_set_value("6", $value);
  }
  function type_string()
  {
    return $this->values["6"]->get_description();
  }
  function number_get()
  {
    return $this->_get_value("1");
  }
  function set_number_get($value)
  {
    return $this->_set_value("1", $value);
  }
  function session_key()
  {
    return $this->_get_value("2");
  }
  function set_session_key($value)
  {
    return $this->_set_value("2", $value);
  }
  function uid()
  {
    return $this->_get_value("3");
  }
  function set_uid($value)
  {
    return $this->_set_value("3", $value);
  }
  function timestamp()
  {
    return $this->_get_value("4");
  }
  function set_timestamp($value)
  {
    return $this->_set_value("4", $value);
  }
  function last_timestamp()
  {
    return $this->_get_value("5");
  }
  function set_last_timestamp($value)
  {
    return $this->_set_value("5", $value);
  }
}
class ComponentsOfNotification_ComponentsType extends PBEnum
{
  const FOLLOW  = 0;
  const MENTION  = 1;
  const SHARE  = 2;
  const CREATE  = 3;
  const USERJOIN  = 4;
  const UPDATE  = 5;
  const COMMENT  = 6;
  const LIKE  = 7;
  const POST_SHARE  = 8;
  const OPEN_GAME  = 9;
  const WAR_GAME  = 10;
  const WAR_RESULT  = 11;
  const THANK  = 12;
  const BIRTHDAY  = 13;
  const INVITE  = 14;

  public function __construct($reader=null)
  {
   	parent::__construct($reader);
 	$this->names = array(
			0 => "FOLLOW",
			1 => "MENTION",
			2 => "SHARE",
			3 => "CREATE",
			4 => "USERJOIN",
			5 => "UPDATE",
			6 => "COMMENT",
			7 => "LIKE",
			8 => "POST_SHARE",
			9 => "OPEN_GAME",
			10 => "WAR_GAME",
			11 => "WAR_RESULT",
			12 => "THANK",
			13 => "BIRTHDAY",
			14 => "INVITE");
   }
}
class ComponentsOfNotification extends PBMessage
{
  var $wired_type = PBMessage::WIRED_LENGTH_DELIMITED;
  public function __construct($reader=null)
  {
    parent::__construct($reader);
    self::$fields["ComponentsOfNotification"]["1"] = "ComponentsOfNotification_ComponentsType";
    $this->values["1"] = "";
    self::$fieldNames["ComponentsOfNotification"]["1"] = "type";
    self::$fields["ComponentsOfNotification"]["2"] = "PBBytes";
    $this->values["2"] = "";
    self::$fieldNames["ComponentsOfNotification"]["2"] = "notification";
  }
  function type()
  {
    return $this->_get_value("1");
  }
  function set_type($value)
  {
    return $this->_set_value("1", $value);
  }
  function type_string()
  {
    return $this->values["1"]->get_description();
  }
  function notification()
  {
    return $this->_get_value("2");
  }
  function set_notification($value)
  {
    return $this->_set_value("2", $value);
  }
}
class OpenGameNotification extends PBMessage
{
  var $wired_type = PBMessage::WIRED_LENGTH_DELIMITED;
  public function __construct($reader=null)
  {
    parent::__construct($reader);
    self::$fields["OpenGameNotification"]["1"] = "PBString";
    $this->values["1"] = "";
    self::$fieldNames["OpenGameNotification"]["1"] = "game_id";
    self::$fields["OpenGameNotification"]["2"] = "PBString";
    $this->values["2"] = "";
    self::$fieldNames["OpenGameNotification"]["2"] = "game";
    self::$fields["OpenGameNotification"]["3"] = "PBInt";
    $this->values["3"] = "";
    self::$fieldNames["OpenGameNotification"]["3"] = "start_time";
    self::$fields["OpenGameNotification"]["4"] = "PBInt";
    $this->values["4"] = "";
    self::$fieldNames["OpenGameNotification"]["4"] = "end_time";
  }
  function game_id()
  {
    return $this->_get_value("1");
  }
  function set_game_id($value)
  {
    return $this->_set_value("1", $value);
  }
  function game()
  {
    return $this->_get_value("2");
  }
  function set_game($value)
  {
    return $this->_set_value("2", $value);
  }
  function start_time()
  {
    return $this->_get_value("3");
  }
  function set_start_time($value)
  {
    return $this->_set_value("3", $value);
  }
  function end_time()
  {
    return $this->_get_value("4");
  }
  function set_end_time($value)
  {
    return $this->_set_value("4", $value);
  }
}
class FollowNotification extends PBMessage
{
  var $wired_type = PBMessage::WIRED_LENGTH_DELIMITED;
  public function __construct($reader=null)
  {
    parent::__construct($reader);
    self::$fields["FollowNotification"]["2"] = "PBString";
    $this->values["2"] = "";
    self::$fieldNames["FollowNotification"]["2"] = "id";
    self::$fields["FollowNotification"]["1"] = "ProfileLite";
    $this->values["1"] = array();
    self::$fieldNames["FollowNotification"]["1"] = "user";
    self::$fields["FollowNotification"]["4"] = "PBInt";
    $this->values["4"] = "";
    self::$fieldNames["FollowNotification"]["4"] = "timestamp";
  }
  function id()
  {
    return $this->_get_value("2");
  }
  function set_id($value)
  {
    return $this->_set_value("2", $value);
  }
  function user($offset)
  {
    return $this->_get_arr_value("1", $offset);
  }
  function add_user()
  {
    return $this->_add_arr_value("1");
  }
  function set_user($index, $value)
  {
    $this->_set_arr_value("1", $index, $value);
  }
  function set_all_users($values)
  {
    return $this->_set_arr_values("1", $values);
  }
  function remove_last_user()
  {
    $this->_remove_last_arr_value("1");
  }
  function users_size()
  {
    return $this->_get_arr_size("1");
  }
  function get_users()
  {
    return $this->_get_value("1");
  }
  function timestamp()
  {
    return $this->_get_value("4");
  }
  function set_timestamp($value)
  {
    return $this->_set_value("4", $value);
  }
}
class ShareNotification extends PBMessage
{
  var $wired_type = PBMessage::WIRED_LENGTH_DELIMITED;
  public function __construct($reader=null)
  {
    parent::__construct($reader);
    self::$fields["ShareNotification"]["5"] = "PBString";
    $this->values["5"] = "";
    self::$fieldNames["ShareNotification"]["5"] = "id";
    self::$fields["ShareNotification"]["1"] = "ItemLite";
    $this->values["1"] = "";
    self::$fieldNames["ShareNotification"]["1"] = "content";
    self::$fields["ShareNotification"]["2"] = "TextMessage";
    $this->values["2"] = "";
    self::$fieldNames["ShareNotification"]["2"] = "message_share";
    self::$fields["ShareNotification"]["3"] = "PBInt";
    $this->values["3"] = "";
    self::$fieldNames["ShareNotification"]["3"] = "timestamp";
    self::$fields["ShareNotification"]["4"] = "ProfileLite";
    $this->values["4"] = array();
    self::$fieldNames["ShareNotification"]["4"] = "user";
  }
  function id()
  {
    return $this->_get_value("5");
  }
  function set_id($value)
  {
    return $this->_set_value("5", $value);
  }
  function content()
  {
    return $this->_get_value("1");
  }
  function set_content($value)
  {
    return $this->_set_value("1", $value);
  }
  function message_share()
  {
    return $this->_get_value("2");
  }
  function set_message_share($value)
  {
    return $this->_set_value("2", $value);
  }
  function timestamp()
  {
    return $this->_get_value("3");
  }
  function set_timestamp($value)
  {
    return $this->_set_value("3", $value);
  }
  function user($offset)
  {
    return $this->_get_arr_value("4", $offset);
  }
  function add_user()
  {
    return $this->_add_arr_value("4");
  }
  function set_user($index, $value)
  {
    $this->_set_arr_value("4", $index, $value);
  }
  function set_all_users($values)
  {
    return $this->_set_arr_values("4", $values);
  }
  function remove_last_user()
  {
    $this->_remove_last_arr_value("4");
  }
  function users_size()
  {
    return $this->_get_arr_size("4");
  }
  function get_users()
  {
    return $this->_get_value("4");
  }
}
class BirthdayNotification extends PBMessage
{
  var $wired_type = PBMessage::WIRED_LENGTH_DELIMITED;
  public function __construct($reader=null)
  {
    parent::__construct($reader);
    self::$fields["BirthdayNotification"]["3"] = "PBString";
    $this->values["3"] = "";
    self::$fieldNames["BirthdayNotification"]["3"] = "id";
    self::$fields["BirthdayNotification"]["1"] = "ProfileLite";
    $this->values["1"] = "";
    self::$fieldNames["BirthdayNotification"]["1"] = "user";
    self::$fields["BirthdayNotification"]["2"] = "PBInt";
    $this->values["2"] = "";
    self::$fieldNames["BirthdayNotification"]["2"] = "timestamp";
  }
  function id()
  {
    return $this->_get_value("3");
  }
  function set_id($value)
  {
    return $this->_set_value("3", $value);
  }
  function user()
  {
    return $this->_get_value("1");
  }
  function set_user($value)
  {
    return $this->_set_value("1", $value);
  }
  function timestamp()
  {
    return $this->_get_value("2");
  }
  function set_timestamp($value)
  {
    return $this->_set_value("2", $value);
  }
}
class MentionNotification extends PBMessage
{
  var $wired_type = PBMessage::WIRED_LENGTH_DELIMITED;
  public function __construct($reader=null)
  {
    parent::__construct($reader);
    self::$fields["MentionNotification"]["5"] = "PBString";
    $this->values["5"] = "";
    self::$fieldNames["MentionNotification"]["5"] = "id";
    self::$fields["MentionNotification"]["1"] = "ItemLite";
    $this->values["1"] = "";
    self::$fieldNames["MentionNotification"]["1"] = "content";
    self::$fields["MentionNotification"]["2"] = "TextMessage";
    $this->values["2"] = "";
    self::$fieldNames["MentionNotification"]["2"] = "message_mention";
    self::$fields["MentionNotification"]["3"] = "PBInt";
    $this->values["3"] = "";
    self::$fieldNames["MentionNotification"]["3"] = "timestamp";
    self::$fields["MentionNotification"]["4"] = "ProfileLite";
    $this->values["4"] = array();
    self::$fieldNames["MentionNotification"]["4"] = "user";
  }
  function id()
  {
    return $this->_get_value("5");
  }
  function set_id($value)
  {
    return $this->_set_value("5", $value);
  }
  function content()
  {
    return $this->_get_value("1");
  }
  function set_content($value)
  {
    return $this->_set_value("1", $value);
  }
  function message_mention()
  {
    return $this->_get_value("2");
  }
  function set_message_mention($value)
  {
    return $this->_set_value("2", $value);
  }
  function timestamp()
  {
    return $this->_get_value("3");
  }
  function set_timestamp($value)
  {
    return $this->_set_value("3", $value);
  }
  function user($offset)
  {
    return $this->_get_arr_value("4", $offset);
  }
  function add_user()
  {
    return $this->_add_arr_value("4");
  }
  function set_user($index, $value)
  {
    $this->_set_arr_value("4", $index, $value);
  }
  function set_all_users($values)
  {
    return $this->_set_arr_values("4", $values);
  }
  function remove_last_user()
  {
    $this->_remove_last_arr_value("4");
  }
  function users_size()
  {
    return $this->_get_arr_size("4");
  }
  function get_users()
  {
    return $this->_get_value("4");
  }
}
class CreateNotification extends PBMessage
{
  var $wired_type = PBMessage::WIRED_LENGTH_DELIMITED;
  public function __construct($reader=null)
  {
    parent::__construct($reader);
    self::$fields["CreateNotification"]["5"] = "PBString";
    $this->values["5"] = "";
    self::$fieldNames["CreateNotification"]["5"] = "id";
    self::$fields["CreateNotification"]["1"] = "ItemLite";
    $this->values["1"] = "";
    self::$fieldNames["CreateNotification"]["1"] = "content";
    self::$fields["CreateNotification"]["4"] = "ItemLite";
    $this->values["4"] = "";
    self::$fieldNames["CreateNotification"]["4"] = "main_content";
    self::$fields["CreateNotification"]["2"] = "PBInt";
    $this->values["2"] = "";
    self::$fieldNames["CreateNotification"]["2"] = "timestamp";
    self::$fields["CreateNotification"]["3"] = "ProfileLite";
    $this->values["3"] = "";
    self::$fieldNames["CreateNotification"]["3"] = "user";
  }
  function id()
  {
    return $this->_get_value("5");
  }
  function set_id($value)
  {
    return $this->_set_value("5", $value);
  }
  function content()
  {
    return $this->_get_value("1");
  }
  function set_content($value)
  {
    return $this->_set_value("1", $value);
  }
  function main_content()
  {
    return $this->_get_value("4");
  }
  function set_main_content($value)
  {
    return $this->_set_value("4", $value);
  }
  function timestamp()
  {
    return $this->_get_value("2");
  }
  function set_timestamp($value)
  {
    return $this->_set_value("2", $value);
  }
  function user()
  {
    return $this->_get_value("3");
  }
  function set_user($value)
  {
    return $this->_set_value("3", $value);
  }
}
class UpdateNotification extends PBMessage
{
  var $wired_type = PBMessage::WIRED_LENGTH_DELIMITED;
  public function __construct($reader=null)
  {
    parent::__construct($reader);
    self::$fields["UpdateNotification"]["5"] = "PBString";
    $this->values["5"] = "";
    self::$fieldNames["UpdateNotification"]["5"] = "id";
    self::$fields["UpdateNotification"]["1"] = "ItemLite";
    $this->values["1"] = "";
    self::$fieldNames["UpdateNotification"]["1"] = "content";
    self::$fields["UpdateNotification"]["4"] = "ItemLite";
    $this->values["4"] = "";
    self::$fieldNames["UpdateNotification"]["4"] = "main_content";
    self::$fields["UpdateNotification"]["2"] = "PBInt";
    $this->values["2"] = "";
    self::$fieldNames["UpdateNotification"]["2"] = "timestamp";
    self::$fields["UpdateNotification"]["3"] = "ProfileLite";
    $this->values["3"] = "";
    self::$fieldNames["UpdateNotification"]["3"] = "user";
  }
  function id()
  {
    return $this->_get_value("5");
  }
  function set_id($value)
  {
    return $this->_set_value("5", $value);
  }
  function content()
  {
    return $this->_get_value("1");
  }
  function set_content($value)
  {
    return $this->_set_value("1", $value);
  }
  function main_content()
  {
    return $this->_get_value("4");
  }
  function set_main_content($value)
  {
    return $this->_set_value("4", $value);
  }
  function timestamp()
  {
    return $this->_get_value("2");
  }
  function set_timestamp($value)
  {
    return $this->_set_value("2", $value);
  }
  function user()
  {
    return $this->_get_value("3");
  }
  function set_user($value)
  {
    return $this->_set_value("3", $value);
  }
}
class UserJoinUserNotification extends PBMessage
{
  var $wired_type = PBMessage::WIRED_LENGTH_DELIMITED;
  public function __construct($reader=null)
  {
    parent::__construct($reader);
    self::$fields["UserJoinUserNotification"]["3"] = "PBString";
    $this->values["3"] = "";
    self::$fieldNames["UserJoinUserNotification"]["3"] = "id";
    self::$fields["UserJoinUserNotification"]["1"] = "PBInt";
    $this->values["1"] = "";
    self::$fieldNames["UserJoinUserNotification"]["1"] = "timestamp";
    self::$fields["UserJoinUserNotification"]["2"] = "ProfileLite";
    $this->values["2"] = array();
    self::$fieldNames["UserJoinUserNotification"]["2"] = "user";
  }
  function id()
  {
    return $this->_get_value("3");
  }
  function set_id($value)
  {
    return $this->_set_value("3", $value);
  }
  function timestamp()
  {
    return $this->_get_value("1");
  }
  function set_timestamp($value)
  {
    return $this->_set_value("1", $value);
  }
  function user($offset)
  {
    return $this->_get_arr_value("2", $offset);
  }
  function add_user()
  {
    return $this->_add_arr_value("2");
  }
  function set_user($index, $value)
  {
    $this->_set_arr_value("2", $index, $value);
  }
  function set_all_users($values)
  {
    return $this->_set_arr_values("2", $values);
  }
  function remove_last_user()
  {
    $this->_remove_last_arr_value("2");
  }
  function users_size()
  {
    return $this->_get_arr_size("2");
  }
  function get_users()
  {
    return $this->_get_value("2");
  }
}
class CommentNotification extends PBMessage
{
  var $wired_type = PBMessage::WIRED_LENGTH_DELIMITED;
  public function __construct($reader=null)
  {
    parent::__construct($reader);
    self::$fields["CommentNotification"]["5"] = "PBString";
    $this->values["5"] = "";
    self::$fieldNames["CommentNotification"]["5"] = "id";
    self::$fields["CommentNotification"]["1"] = "ItemLite";
    $this->values["1"] = "";
    self::$fieldNames["CommentNotification"]["1"] = "content";
    self::$fields["CommentNotification"]["2"] = "TextMessage";
    $this->values["2"] = "";
    self::$fieldNames["CommentNotification"]["2"] = "message_share";
    self::$fields["CommentNotification"]["3"] = "PBInt";
    $this->values["3"] = "";
    self::$fieldNames["CommentNotification"]["3"] = "timestamp";
    self::$fields["CommentNotification"]["4"] = "ProfileLite";
    $this->values["4"] = array();
    self::$fieldNames["CommentNotification"]["4"] = "user";
  }
  function id()
  {
    return $this->_get_value("5");
  }
  function set_id($value)
  {
    return $this->_set_value("5", $value);
  }
  function content()
  {
    return $this->_get_value("1");
  }
  function set_content($value)
  {
    return $this->_set_value("1", $value);
  }
  function message_share()
  {
    return $this->_get_value("2");
  }
  function set_message_share($value)
  {
    return $this->_set_value("2", $value);
  }
  function timestamp()
  {
    return $this->_get_value("3");
  }
  function set_timestamp($value)
  {
    return $this->_set_value("3", $value);
  }
  function user($offset)
  {
    return $this->_get_arr_value("4", $offset);
  }
  function add_user()
  {
    return $this->_add_arr_value("4");
  }
  function set_user($index, $value)
  {
    $this->_set_arr_value("4", $index, $value);
  }
  function set_all_users($values)
  {
    return $this->_set_arr_values("4", $values);
  }
  function remove_last_user()
  {
    $this->_remove_last_arr_value("4");
  }
  function users_size()
  {
    return $this->_get_arr_size("4");
  }
  function get_users()
  {
    return $this->_get_value("4");
  }
}
class LikeNotification extends PBMessage
{
  var $wired_type = PBMessage::WIRED_LENGTH_DELIMITED;
  public function __construct($reader=null)
  {
    parent::__construct($reader);
    self::$fields["LikeNotification"]["4"] = "PBString";
    $this->values["4"] = "";
    self::$fieldNames["LikeNotification"]["4"] = "id";
    self::$fields["LikeNotification"]["1"] = "ItemLite";
    $this->values["1"] = "";
    self::$fieldNames["LikeNotification"]["1"] = "content";
    self::$fields["LikeNotification"]["2"] = "PBInt";
    $this->values["2"] = "";
    self::$fieldNames["LikeNotification"]["2"] = "timestamp";
    self::$fields["LikeNotification"]["3"] = "ProfileLite";
    $this->values["3"] = array();
    self::$fieldNames["LikeNotification"]["3"] = "user";
  }
  function id()
  {
    return $this->_get_value("4");
  }
  function set_id($value)
  {
    return $this->_set_value("4", $value);
  }
  function content()
  {
    return $this->_get_value("1");
  }
  function set_content($value)
  {
    return $this->_set_value("1", $value);
  }
  function timestamp()
  {
    return $this->_get_value("2");
  }
  function set_timestamp($value)
  {
    return $this->_set_value("2", $value);
  }
  function user($offset)
  {
    return $this->_get_arr_value("3", $offset);
  }
  function add_user()
  {
    return $this->_add_arr_value("3");
  }
  function set_user($index, $value)
  {
    $this->_set_arr_value("3", $index, $value);
  }
  function set_all_users($values)
  {
    return $this->_set_arr_values("3", $values);
  }
  function remove_last_user()
  {
    $this->_remove_last_arr_value("3");
  }
  function users_size()
  {
    return $this->_get_arr_size("3");
  }
  function get_users()
  {
    return $this->_get_value("3");
  }
}
class PostShareNotification extends PBMessage
{
  var $wired_type = PBMessage::WIRED_LENGTH_DELIMITED;
  public function __construct($reader=null)
  {
    parent::__construct($reader);
    self::$fields["PostShareNotification"]["5"] = "PBString";
    $this->values["5"] = "";
    self::$fieldNames["PostShareNotification"]["5"] = "id";
    self::$fields["PostShareNotification"]["1"] = "ItemLite";
    $this->values["1"] = "";
    self::$fieldNames["PostShareNotification"]["1"] = "content";
    self::$fields["PostShareNotification"]["2"] = "TextMessage";
    $this->values["2"] = "";
    self::$fieldNames["PostShareNotification"]["2"] = "message_share";
    self::$fields["PostShareNotification"]["3"] = "PBInt";
    $this->values["3"] = "";
    self::$fieldNames["PostShareNotification"]["3"] = "timestamp";
    self::$fields["PostShareNotification"]["4"] = "ProfileLite";
    $this->values["4"] = array();
    self::$fieldNames["PostShareNotification"]["4"] = "user";
  }
  function id()
  {
    return $this->_get_value("5");
  }
  function set_id($value)
  {
    return $this->_set_value("5", $value);
  }
  function content()
  {
    return $this->_get_value("1");
  }
  function set_content($value)
  {
    return $this->_set_value("1", $value);
  }
  function message_share()
  {
    return $this->_get_value("2");
  }
  function set_message_share($value)
  {
    return $this->_set_value("2", $value);
  }
  function timestamp()
  {
    return $this->_get_value("3");
  }
  function set_timestamp($value)
  {
    return $this->_set_value("3", $value);
  }
  function user($offset)
  {
    return $this->_get_arr_value("4", $offset);
  }
  function add_user()
  {
    return $this->_add_arr_value("4");
  }
  function set_user($index, $value)
  {
    $this->_set_arr_value("4", $index, $value);
  }
  function set_all_users($values)
  {
    return $this->_set_arr_values("4", $values);
  }
  function remove_last_user()
  {
    $this->_remove_last_arr_value("4");
  }
  function users_size()
  {
    return $this->_get_arr_size("4");
  }
  function get_users()
  {
    return $this->_get_value("4");
  }
}
class ThankNotification extends PBMessage
{
  var $wired_type = PBMessage::WIRED_LENGTH_DELIMITED;
  public function __construct($reader=null)
  {
    parent::__construct($reader);
    self::$fields["ThankNotification"]["4"] = "PBString";
    $this->values["4"] = "";
    self::$fieldNames["ThankNotification"]["4"] = "id";
    self::$fields["ThankNotification"]["1"] = "ItemLite";
    $this->values["1"] = "";
    self::$fieldNames["ThankNotification"]["1"] = "content";
    self::$fields["ThankNotification"]["2"] = "PBInt";
    $this->values["2"] = "";
    self::$fieldNames["ThankNotification"]["2"] = "timestamp";
    self::$fields["ThankNotification"]["3"] = "ProfileLite";
    $this->values["3"] = array();
    self::$fieldNames["ThankNotification"]["3"] = "user";
  }
  function id()
  {
    return $this->_get_value("4");
  }
  function set_id($value)
  {
    return $this->_set_value("4", $value);
  }
  function content()
  {
    return $this->_get_value("1");
  }
  function set_content($value)
  {
    return $this->_set_value("1", $value);
  }
  function timestamp()
  {
    return $this->_get_value("2");
  }
  function set_timestamp($value)
  {
    return $this->_set_value("2", $value);
  }
  function user($offset)
  {
    return $this->_get_arr_value("3", $offset);
  }
  function add_user()
  {
    return $this->_add_arr_value("3");
  }
  function set_user($index, $value)
  {
    $this->_set_arr_value("3", $index, $value);
  }
  function set_all_users($values)
  {
    return $this->_set_arr_values("3", $values);
  }
  function remove_last_user()
  {
    $this->_remove_last_arr_value("3");
  }
  function users_size()
  {
    return $this->_get_arr_size("3");
  }
  function get_users()
  {
    return $this->_get_value("3");
  }
}
class InviteNotification extends PBMessage
{
  var $wired_type = PBMessage::WIRED_LENGTH_DELIMITED;
  public function __construct($reader=null)
  {
    parent::__construct($reader);
    self::$fields["InviteNotification"]["1"] = "PBString";
    $this->values["1"] = "";
    self::$fieldNames["InviteNotification"]["1"] = "id";
    self::$fields["InviteNotification"]["2"] = "ProfileLite";
    $this->values["2"] = array();
    self::$fieldNames["InviteNotification"]["2"] = "user";
    self::$fields["InviteNotification"]["3"] = "PBInt";
    $this->values["3"] = "";
    self::$fieldNames["InviteNotification"]["3"] = "timestamp";
    self::$fields["InviteNotification"]["4"] = "PBString";
    $this->values["4"] = "";
    self::$fieldNames["InviteNotification"]["4"] = "channel";
  }
  function id()
  {
    return $this->_get_value("1");
  }
  function set_id($value)
  {
    return $this->_set_value("1", $value);
  }
  function user($offset)
  {
    return $this->_get_arr_value("2", $offset);
  }
  function add_user()
  {
    return $this->_add_arr_value("2");
  }
  function set_user($index, $value)
  {
    $this->_set_arr_value("2", $index, $value);
  }
  function set_all_users($values)
  {
    return $this->_set_arr_values("2", $values);
  }
  function remove_last_user()
  {
    $this->_remove_last_arr_value("2");
  }
  function users_size()
  {
    return $this->_get_arr_size("2");
  }
  function get_users()
  {
    return $this->_get_value("2");
  }
  function timestamp()
  {
    return $this->_get_value("3");
  }
  function set_timestamp($value)
  {
    return $this->_set_value("3", $value);
  }
  function channel()
  {
    return $this->_get_value("4");
  }
  function set_channel($value)
  {
    return $this->_set_value("4", $value);
  }
}
class GetNotificationReply extends PBMessage
{
  var $wired_type = PBMessage::WIRED_LENGTH_DELIMITED;
  public function __construct($reader=null)
  {
    parent::__construct($reader);
    self::$fields["GetNotificationReply"]["1"] = "NotificationErrorType";
    $this->values["1"] = "";
    self::$fieldNames["GetNotificationReply"]["1"] = "error_no";
    self::$fields["GetNotificationReply"]["2"] = "PBString";
    $this->values["2"] = "";
    self::$fieldNames["GetNotificationReply"]["2"] = "error_msg";
    self::$fields["GetNotificationReply"]["3"] = "ComponentsOfNotification";
    $this->values["3"] = array();
    self::$fieldNames["GetNotificationReply"]["3"] = "notification";
  }
  function error_no()
  {
    return $this->_get_value("1");
  }
  function set_error_no($value)
  {
    return $this->_set_value("1", $value);
  }
  function error_no_string()
  {
    return $this->values["1"]->get_description();
  }
  function error_msg()
  {
    return $this->_get_value("2");
  }
  function set_error_msg($value)
  {
    return $this->_set_value("2", $value);
  }
  function notification($offset)
  {
    return $this->_get_arr_value("3", $offset);
  }
  function add_notification()
  {
    return $this->_add_arr_value("3");
  }
  function set_notification($index, $value)
  {
    $this->_set_arr_value("3", $index, $value);
  }
  function set_all_notifications($values)
  {
    return $this->_set_arr_values("3", $values);
  }
  function remove_last_notification()
  {
    $this->_remove_last_arr_value("3");
  }
  function notifications_size()
  {
    return $this->_get_arr_size("3");
  }
  function get_notifications()
  {
    return $this->_get_value("3");
  }
}
class NotificationAllUserRequest extends PBMessage
{
  var $wired_type = PBMessage::WIRED_LENGTH_DELIMITED;
  public function __construct($reader=null)
  {
    parent::__construct($reader);
    self::$fields["NotificationAllUserRequest"]["1"] = "PBString";
    $this->values["1"] = "";
    self::$fieldNames["NotificationAllUserRequest"]["1"] = "message_notification";
    self::$fields["NotificationAllUserRequest"]["2"] = "PBString";
    $this->values["2"] = "";
    self::$fieldNames["NotificationAllUserRequest"]["2"] = "link";
    self::$fields["NotificationAllUserRequest"]["4"] = "SocialChannelType";
    $this->values["4"] = "";
    self::$fieldNames["NotificationAllUserRequest"]["4"] = "channel_type";
  }
  function message_notification()
  {
    return $this->_get_value("1");
  }
  function set_message_notification($value)
  {
    return $this->_set_value("1", $value);
  }
  function link()
  {
    return $this->_get_value("2");
  }
  function set_link($value)
  {
    return $this->_set_value("2", $value);
  }
  function channel_type()
  {
    return $this->_get_value("4");
  }
  function set_channel_type($value)
  {
    return $this->_set_value("4", $value);
  }
  function channel_type_string()
  {
    return $this->values["4"]->get_description();
  }
}
class NotificationAllUserReply extends PBMessage
{
  var $wired_type = PBMessage::WIRED_LENGTH_DELIMITED;
  public function __construct($reader=null)
  {
    parent::__construct($reader);
    self::$fields["NotificationAllUserReply"]["1"] = "NotificationErrorType";
    $this->values["1"] = "";
    self::$fieldNames["NotificationAllUserReply"]["1"] = "error_no";
    self::$fields["NotificationAllUserReply"]["2"] = "PBString";
    $this->values["2"] = "";
    self::$fieldNames["NotificationAllUserReply"]["2"] = "error_msg";
  }
  function error_no()
  {
    return $this->_get_value("1");
  }
  function set_error_no($value)
  {
    return $this->_set_value("1", $value);
  }
  function error_no_string()
  {
    return $this->values["1"]->get_description();
  }
  function error_msg()
  {
    return $this->_get_value("2");
  }
  function set_error_msg($value)
  {
    return $this->_set_value("2", $value);
  }
}
?>